package com.itcam;

/**
 * @author : Cammy.Wu
 * Description : 
 */
// todo:只要是单例模式，一定要构造器私有
// 静态内部类
public class Holder {
    private Holder() {

    }

    public static Holder getInstance() {
        return Inner.HOLDER;
    }

    public static class Inner {
        private static final Holder HOLDER = new Holder();
    }
}
